﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SystemMHB.Domian
{
    /// <summary>
    /// 返库信息
    /// </summary>
    [Table("ReturnWarehouse")]
    public class ReturnWarehouse: Share.Audit
    {
        /// <summary>
        /// 返库ID
        /// </summary>
        [Key]
        public int rWId { get; set; }
        /// <summary>
        /// 返库编号
        /// </summary>
        public string? returnWarehouseNumber { get; set; }
        /// <summary>
        /// 出库编号
        /// </summary>
        public string? outboundNumber { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int outboundQuantity {  get; set; }
        /// <summary>
        /// 原料编号
        /// </summary>
        public string? MaterialNumber { get; set; }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string? rawMaterialName { get; set; }
        /// <summary>
        /// 原料批次号
        /// </summary>
        public string? rawMaterialLotNumber { get; set; }
        /// <summary>
        /// 返库数量
        /// </summary>
        public int returnWarehouseQuantity { get; set; }
        /// <summary>
        /// 返库状态
        /// </summary>
        public int returnStatus { get; set; }
        /// <summary>
        /// 返库原因
        /// </summary>
        public string? returnWarehouseCause {  get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDel {  get; set; }

    }
}
